package com.qipay.user.service;


import com.qipay.baas.model.User;

import java.util.List;

public interface UserService {

    User getByName(String name);

    Long count(String name);

    List<User> page(String name, int no, int size);

    int insert(User user);

    int updatePassword(long uid, String pwd);

    int updateLevel(long uid, int level);

    int updateByPrimaryKey(User user);

    User getByPK(long uid);
    List<User> findByLevel(int level);
}
